import { apis } from '../api'
import taroApis from './taroApis'
import common from './common'

type TComm = {
  $apis: typeof apis
  $taroApis: typeof taroApis
  $initPage: typeof common.initPage
  $toast: typeof common.toast
  $loading: typeof common.loading
}

const utils: TComm = {
  $apis: apis,
  $taroApis: taroApis,
  $initPage: common.initPage,
  $toast: common.toast,
  $loading: common.loading
}

export default utils
